package com.sayice.design.lab2_2.factory;

import com.sayice.design.lab2_2.connection.Connection;
import com.sayice.design.lab2_2.connection.POPConnection;

/**
 * @author shubing
 */
public class POPConnectionFactory extends ConnectionFactory {
    @Override
    public Connection getConnection() {
        System.out.println("POPConnectionFactory 创建 POPConnection");
        return new POPConnection();
    }
}
